<!doctype html>
<html lang="zh-Hans">

<head>
    <meta charset="utf-8">
    <meta name="author" content="Fresns" />
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="generator" content="Bootstrap 5">
    <title>Fresns 控制面板基础版</title>
    <link rel="stylesheet" href="../assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="../assets/css/bootstrap-icons.css">
    <link rel="stylesheet" href="../assets/css/admin.css">
</head>

<body>
    <header>
        <nav class="navbar navbar-light bg-light shadow-sm">
            <div class="container-lg">
                <a class="navbar-brand" href="index.html"><i class="bi bi-gear"></i> 控制面板 <span class="badge bg-secondary fs-9">基础版</span></a>
                <ul class="navbar-nav me-auto d-flex flex-row flex-wrap">
                    <li class="mx-2 mx-lg-3"><a class="nav-link" href="policies.html">协议设置</a></li>
                    <li class="mx-2 mx-lg-3"><a class="nav-link" href="sites.html">站点设置</a></li>
                    <li class="mx-2 mx-lg-3"><a class="nav-link active" href="sends.html">发信设置</a></li>
                    <li class="mx-2 mx-lg-3"><a class="nav-link" href="storage-images.html">存储设置</a></li>
                    <li class="mx-2 mx-lg-3"><a class="nav-link" href="filters.html">过滤配置</a></li>
                </ul>
                </div>
            </div>
        </nav>
    </header>

    <main>
        <div class="container-lg p-0 p-lg-3">
            <div class="bg-body shadow-sm mt-3 p-4 p-lg-5">

                <form class="form-setting">
                    <!--邮箱配置-->
                    <div class="row mb-4">
                        <label for="account_policies" class="col-lg-3 col-xl-4 col-form-label text-lg-end">邮箱配置：</label>
                        <div class="col-lg-8 pt-2">
                            <div class="input-group mb-3">
                                <span class="input-group-text">邮件服务商</span>
                                <select class="form-select" id="send_email_service">
                                    <option value="">不启用</option>
                                    <option value="sendmail">Sendmail 插件</option>
                                    <option value="smtp">SMTP 插件</option>
                                </select>
                            </div>
                            <div class="input-group mb-3">
                                <span class="input-group-text">发件人名称</span>
                                <input type="text" class="form-control" id="send_email_from_name" placeholder="Fresns">
                            </div>
                            <div class="input-group">
                                <span class="input-group-text">发件人邮箱</span>
                                <input type="text" class="form-control" id="send_email_from_mail" placeholder="support@fresns.com">
                            </div>
                        </div>
                    </div>
                    <!--短信配置-->
                    <div class="row mb-4">
                        <label for="account_policies" class="col-lg-3 col-xl-4 col-form-label text-lg-end">短信配置：</label>
                        <div class="col-lg-8 pt-2">
                            <div class="input-group mb-3">
                                <span class="input-group-text">短信服务商</span>
                                <select class="form-select" id="send_sms_service">
                                    <option value="">不启用</option>
                                    <option value="qcloud" selected>腾讯云 短信服务</option>
                                    <option value="aliyun">阿里云 短信服务</option>
                                    <option value="yunpian">云片网</option>
                                    <option value="juhe">聚合数据</option>
                                    <option value="upyun">又拍云 短信服务</option>
                                    <option value="sendcloud">Send Cloud</option>
                                </select>
                            </div>
                            <div class="input-group mb-3">
                                <span class="input-group-text">默认国际区号</span>
                                <input type="text" class="form-control" id="send_sms_code" placeholder="+86">
                            </div>
                            <div class="input-group">
                                <span class="input-group-text">支持更多区号</span>
                                <textarea class="form-control" id="send_sms_code_more" aria-label="With textarea"></textarea>
                                <span class="input-group-text w-50 text-start text-wrap fs-7">一行一个，区号带 + 号。<br>留空代表只支持单一国家。<br>配置前请确认服务商支持国际短信功能。</span>
                            </div>
                        </div>
                    </div>
                    <!--iOS 配置-->
                    <div class="row mb-4">
                        <label for="account_policies" class="col-lg-3 col-xl-4 col-form-label text-lg-end">iOS 系统通知配置：</label>
                        <div class="col-lg-8 pt-2">
                            <div class="input-group mb-3">
                                <span class="input-group-text">通知服务商</span>
                                <select class="form-select" id="send_ios_service">
                                    <option value="">不启用</option>
                                    <option value="1">xx插件</option>
                                    <option value="2">zz插件</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <!--Android 配置-->
                    <div class="row mb-4">
                        <label for="account_policies" class="col-lg-3 col-xl-4 col-form-label text-lg-end">Android 系统通知配置：</label>
                        <div class="col-lg-8 pt-2">
                            <div class="input-group mb-3">
                                <span class="input-group-text">通知服务商</span>
                                <select class="form-select" id="send_android_service">
                                    <option value="">不启用</option>
                                    <option value="1">xx插件</option>
                                    <option value="2">zz插件</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <!--微信配置-->
                    <div class="row mb-4">
                        <label for="account_policies" class="col-lg-3 col-xl-4 col-form-label text-lg-end">微信通知配置：</label>
                        <div class="col-lg-8 pt-2">
                            <div class="input-group mb-3">
                                <span class="input-group-text">通知服务商</span>
                                <select class="form-select" id="send_wechat_service">
                                    <option value="">不启用</option>
                                    <option value="1">xx插件</option>
                                    <option value="2">zz插件</option>
                                </select>
                            </div>
                        </div>
                    </div>

                    <!--保存按钮-->
                    <div class="row mt-5">
                        <div class="col-lg-3 col-xl-4"></div>
                        <div class="col-lg-8">
                            <button type="submit" class="btn btn-primary">提交保存</button>
                        </div>
                    </div>
                </form>

            </div>
        </div>
    </main>

    <footer>
        <div class="copyright text-center">
            <p class="mt-5 mb-5 text-muted">&copy; 2021 Fresns</p>
        </div>
    </footer>

    <script src="../assets/javascript/bootstrap.bundle.min.js"></script>
    <script src="../assets/javascript/admin.js"></script>
</body>

</html>